<?php
if( !isset($_GET["ajax"]) ) {  
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Administrar Bancos</title>
    <link href="../css/bancos.css" rel="stylesheet" type="text/css" />
    <link href="../css/maintenance_v2.css" rel="stylesheet" type="text/css" />
    <link href="../libs/jquery.ui/jquery.ui.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../js/jquery.js" language="javascript"></script>
    <script type="text/javascript" src="../libs/jquery.ui/jquery.ui.min.js" language="javascript"></script>
    <script type="text/javascript" src="../js/admin_bancos.js" language="javascript"></script>
    </head>
    <body>
    <?php
}    
?>
<script type="text/javascript" src="../js/admin_bancos_autorizacion.js" language="javascript"></script>
<form name="frmBancosAutorizacion" id="frmBancosAutorizacion" method="post" action="">
    <?php
    if( !isset($_GET["ajax"]) ) {  
        ?>
        <div id="dialog-cargando" style="width: auto; height: auto; vertical-align: middle; text-align: center; display: none">
            <img id="img-cargando" src='../img/loading.gif' style="width: 100px; height: 100px" />
        </div>
        <?php
    }
    ?>
    <div id="div-autorizacion-contenedor" style="width:900px; height: 380px;">
        <div id="div-autorizacion-mensajes" style="width: 900px; height: 30px; float: left;"></div>
        <div style="width: 900px; height: 30px; float: left;">
            <b>Tipo de documento: </b>
            <select name="sltAutorizacionTipo">
                <option value="0">--- Todos ---</option>
                <option value="1">Cheque</option>
                <option value="2">Nota de credito</option>
                <option value="3">Nota de debito</option>
            </select>
        </div>
        <div style="width: 900px; height: 30px; float: left;">&nbsp;</div>
        <div style="width: 150px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>Tipo de documento</b></div>
        <div style="width: 100px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>No. de solicitud</b></div>
        <div style="width: 100px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>Fecha</b></div>
        <div style="width: 200px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>Cheque a nombre de</b></div>
        <div style="width: 150px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>Valor</b></div>
        <div style="width: 200px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>Cuenta Bancaria</b></div>
        <div id="div-autorizacion-contenido" style="width: 900px; float: left;"></div>
        <div style="width: 900px; height: 30px; float: left;">&nbsp;</div>
        <div style="width: 450px; height: 30px; float: left;" align="center"><button type="button" id="div-autorizacion-grabar">Autorizar y Enviar a emisión</button></div>
        <div style="width: 450px; height: 30px; float: left;" align="center"><button type="button" id="div-autorizacion-rechazar">Rechazar</button></div>
    </div>
</form>
<?php
if( !isset($_GET["ajax"]) ) {  
    ?>
    </body>
    </html>
    <?php
}
?>